package com.bit.transaction.service;

import com.bit.transaction.mapper.UserInfoMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Slf4j
@Service
public class UserService {
    @Autowired
    private UserInfoMapper userInfoMapper;

    public void registryUser(String name, String password){
        Integer ret = userInfoMapper.insertUser(name, password);
        log.info("UserService-新增用户，影响行数：" + ret);
    }
}
